<template>
  <!-- 空数据容器 -->
  <div class="EmptyWrapper-container">
    <!-- 图片 -->
    <div class="img-wrapper">
      <slot name="img" />
    </div>
    <!-- 文本 -->
    <div class="desc-wrapper">
      <slot />
    </div>
  </div>
</template>

<script>
export default {
  name: 'EmptyWrapper',
}
</script>

<style lang="less" scoped>
.EmptyWrapper-container {
  flex: auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  .desc-wrapper {
    padding-top: 10px;
    color: #666666;
    font-size: 12px;
  }
}
</style>